import { Component } from '@angular/core';

@Component({
    selector: 'spinner',
    templateUrl: './spinner.component.html',
    styleUrls: ['./spinner.component.scss']
})
export class SpinnerComponent {
    public showSpinner: boolean = false;

    constructor() { }

    public show(){
        this.showSpinner = true;
    }

    public hide(){
        this.showSpinner = false;
    }
}